//答题
Route::group(function () {
        Route::get("/notice_type", "app\api\controller\Notice@type")->name("notice.notice_type"); // 资讯类型
        Route::get("/notice_index", "app\api\controller\Notice@index")->name("notice.notice_index"); // 全部资讯
        Route::get("/notice_detail", "app\api\controller\Notice@detail")->name("notice.notice_detail"); // 详情
    })
->allowCrossDomain()
->middleware(\app\api\middleware\TokenMiddleware::class,true);// jwt认证